package cn.qicaiwang.open.websocket.mapper;

import cn.qicaiwang.open.common.entity.CrmSession;
import cn.qicaiwang.open.common.vo.CrmSessionVO;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 * CrmSessionMapper继承基类
 */
public interface CrmSessionMapper extends BaseMapper<CrmSession> {
    Page<CrmSessionVO> page(Page page, String userId);

    CrmSessionVO getByPartaker(String fromUserId, String toUserId);
}